home *** CD-ROM | disk | FTP | other *** search
- Path: nbdchc4.bnr.ca!news
- From: Carlos Ng <carlos.ng.0141758@nt.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Method in MSVC++4
- Date: Tue, 30 Jan 1996 11:16:30 -0800
- Organization: Nortel
- Message-ID: <310E6E8E.42DE@nt.com>
- References: <kosoy.822883927@interactive.net>
- NNTP-Posting-Host: 47.149.128.62
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b5 (Win16; I)
-
- Alex Kosoy wrote:
- >
- > I'm fairly new to programming using MFC. I need to have a CStatic
- > control with a caption whose text color i can manipulate during
- > runtime.
- >
- > I have created the dialog and the static control using the resource
- > editor but there does not seem to be any method for manipulating
- > the colors for the caption in the CStatic control. Im hoping to
- > avoid having to write an OLE control to do this..
- >
- > Am I overlooking something??
- >
- > Please help..
- >
- > Thanks,
- > AlexI used VC 1.5 and I don't see how you can change the color of text
- easily.
- there are two ways"
- 1. use a VBX 3D text controls or subclass the edit control and do a
- textout.
-